18305e2fa02504f8f57c9c6b53f5334819c32247,compiler/impl/com/intellij/compiler/impl/javaCompiler/javac/JavacCompiler.java,JavacCompiler,addClassPathValue,#Sdk#boolean#ArrayList#String#String#,303
Before Change
@NonNls final String tempFileName) throws IOException {
// must include output path to classpath, otherwise javac will compile all dependent files no matter were they compiled before or not
if (isVersion1_0) {
commandLine.add(jdk.getSdkType().getToolsPath(jdk) + File.pathSeparator + cpString);
}
else {
File cpFile = FileUtil.createTempFile(tempFileName, ".tmp");
After Change
@NonNls final String tempFileName) throws IOException {
// must include output path to classpath, otherwise javac will compile all dependent files no matter were they compiled before or not
if (isVersion1_0) {
commandLine.add(((JavaSdkType)jdk.getSdkType()).getToolsPath(jdk) + File.pathSeparator + cpString);
}
else {
File cpFile = FileUtil.createTempFile(tempFileName, ".tmp");